package com.tiankong.ware.service;

import com.tiankong.ware.entity.Purchase;
import net.youdi.common.base.BaseService;

import java.util.Set;

/**
 * <p>
 * 采购信息 服务类
 * </p>
 *
 * @author scl
 * @since 2021-03-22
 */
public interface PurchaseService extends BaseService<Purchase> {

    void mergePurchase(Long purchaseId, Set<Long> itemIds);

    /**
     * 领取采购单
     * @param ids
     */
    void received(Set<Long> ids);

    /**
     * 完成采购单
     * @param purchase
     */
    void done(Purchase purchase);
}
